Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checking if Loki plug-in for Docker is present and installing/updating it accordingly #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

vzro
Copy link

@vzro vzro commented Jan 27, 2021

I know this might as well be suited to becoming a module for Ansible given the length of it, however, it does work and has been rigorously tested to exhaustion and performs the aforementioned tasks, which are as follows:

  1. check if loki is installed in docker
  • if it is not, then install it
  • if it is, then upgrade it
  1. when upgrading
  • first, disable the plugin
  • then perform the upgrade
  • finally, enable the plugin

All the commands and variables have fail-safe values and logic to make sure the tasks won't break and interrupt the execution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant